﻿using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;

namespace Kavaa.Framework.Presentation
{
    public class BootstrapBundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/js").Include(
                 "~/Scripts/jquery-{version}.js",
                 "~/Scripts/jquery-migrate-{version}.js",
                 "~/Scripts/bootstrap.js",
                  "~/Scripts/spin.js",
                    "~/Scripts/jquery-ui.js",
                 "~/Scripts/jquery.validate.js",
                 "~/scripts/jquery.validate.unobtrusive.js",
                 "~/scripts/jquery-ui-1.10.2.custom.js",
                  "~/scripts/jquery-ui-1.10.2.custom.min.js",
                 "~/Scripts/jquery.validate.unobtrusive-custom-for-bootstrap.js",
                 "~/Scripts/jquery.unobtrusive*", "~/Scripts/jquery.validate*",
                  "~/Scripts/jquery-ui-{version}.js",
                 "~/Scripts/jquery.dataTables.js",

                 "~/Scripts/jquery.TableTools.js",
                  "~/Scripts/jquery.dataTables.editor.js",
                  "~/Scripts/jquery/dataTables.bootstrap.js"


//<script type="text/javascript" charset="utf-8" src="support/bootstrap/dataTables/dataTables.editor.bootstrap.js" ></script>
                  
                  
                  
                  ));
            bundles.Add(new ScriptBundle("~/jss").Include(
                "~/Scripts/jquery-{version}.js",
                
                "~/Scripts/bootstrap.js",
                 "~/Scripts/spin.js",
           
                "~/scripts/jquery.validate.unobtrusive.js",
           
                "~/Scripts/jquery.unobtrusive*", "~/Scripts/jquery.validate*",
                 "~/Scripts/jquery-ui-{version}.js",
                "~/Scripts/jquery.dataTables.js"


//<script type="text/javascript" charset="utf-8" src="support/bootstrap/dataTables/dataTables.editor.bootstrap.js" ></script>



                 ));


            bundles.Add(new StyleBundle("~/content/css").Include(
                "~/Content/bootstrap.css",
                "~/Content/body.css",
                "~/Content/bootstrap-responsive.css",
                "~/Content/bootstrap-mvc-validation.css",
                "~/Content/bootstrap.min.css"
                ));
        }
    }
}